package com.yyys.web.entity;

import org.hibernate.annotations.Type;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * Created by zhengsenwen on 2017/8/11.
 */

@Entity
@Table(name = "[Flow_CBInfo]")
public class CBInfo implements Serializable {
    private static final Long serialVersionUID = 1L;

    private Integer id;
    private Integer drId;
    private String cbbh;
    private String cbName;
    private String bngTime;
    private String endTime;
    private Integer czryid;
    @Type(type = "datetime")
    private String czsj;

    @Id
    @Column(name = "id", nullable = false)
    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    @Column(name = "DRID", nullable = true)
    public Integer getDrId() {
        return drId;
    }

    public void setDrId(Integer drId) {
        this.drId = drId;
    }

    @Column(name = "CBBH", nullable = false)
    public String getCbbh() {
        return cbbh;
    }

    public void setCbbh(String cbbh) {
        this.cbbh = cbbh;
    }

    @Column(name = "CBName", nullable = false)
    public String getCbName() {
        return cbName;
    }

    public void setCbName(String cbName) {
        this.cbName = cbName;
    }

    @Column(name = "BngTime", nullable = false)
    public String getBngTime() {
        return bngTime;
    }

    public void setBngTime(String bngTime) {
        this.bngTime = bngTime;
    }

    @Column(name = "EndTime", nullable = false)
    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    @Column(name = "czryid", nullable = false)
    public Integer getCzryid() {
        return czryid;
    }

    public void setCzryid(Integer czryid) {
        this.czryid = czryid;
    }


    @Column(name = "CZSJ", nullable = false)
    public String getCzsj() {
        return czsj;
    }

    public void setCzsj(String czsj) {
        this.czsj = czsj;
    }
}
